﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using A2DFramework.BusinessExceptionService.Exceptions;

namespace A2DFramework.BusinessExceptionService
{
    /// <summary>
    /// 业务异常包装器
    /// </summary>
    public class BusinessExceptionWrapper
    {
        public List<Rule> Rules { get; set; }
        public string EntityData { get; set; }
        public DateTime ExceptionOn { get; private set; }
        public string[] AdditionalInfo { get;set; }
        public FailAction FailAction { get; set; }

        public BusinessExceptionWrapper()
        {
            this.ExceptionOn = DateTime.Now;
        }

    }
}
